package cn.ivast.recyclerviewtest.adapter;

import android.support.v7.widget.RecyclerView;

import cn.bingoogolapple.baseadapter.BGARecyclerViewAdapter;
import cn.bingoogolapple.baseadapter.BGAViewHolderHelper;
import cn.ivast.recyclerviewtest.R;

/**
 * Created by hcs on 2018/11/25.
 */
public class StringAdapter extends BGARecyclerViewAdapter<String> {

    public StringAdapter(RecyclerView recyclerView) {
        super(recyclerView, R.layout.item_str);
    }

    @Override
    protected void fillData(BGAViewHolderHelper helper, int position, String model) {
        helper.setText(R.id.tv, model);
    }
}
